package com.boot.mall.seckill.feign;

import com.boot.common.to.seckill.SecKillSessionTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("mall-coupon")
public interface CouponFeignService {

    /**
     * 查询近三天的秒杀活动场次信息
     * @return
     */
    @GetMapping("/coupon/seckillsession/nearthreedays/seckillsession")
    List<SecKillSessionTo> getNearThreeDaysSecKillSession();

}
